#include <stdio.h>
#include "log/log.h"
#include <string.h>
#include "app_run.h"


int main(int argc, char const *argv[])
{
    if (argc == 1) {
        log_error("要携带模块名参数");
        return -1;
    }

    if (strcmp(argv[1], "app") == 0) {
        app_runner_run(); // 运行app模块
    } else {
        log_error("其它参数暂时不支持");
        return -1;
    }

    return 0;
}